package com.tingyuge.base.structrue.stack;

/**
 * @Created by xiaodao
 */
public class Main {

    public static void main(String[] args) {

        ArrayStack<Integer> stack = new ArrayStack<>();

        stack.push(2);
        stack.push(3);
        stack.push(4);

        System.out.println(stack);
        stack.pop();

        System.out.println(stack);

    }
}
